package com.finger.forest.model;

import java.io.Serializable;

/**
 * @author sy
 * @date 2021/3/10
 * @desc
 */
public class InsertVoiceModel implements Serializable {

    /**
     * filepath : http://192.168.1.240:9999/group1/M00/00/01/wKgB8F5KaSmALxg-AAJCe3W03Sw739.m4a
     * voiceintercom : {"id":15,"gridId":8,"createDate":"2021-03-09 10:23:20","validFlag":0,"duration":null,"dataFiles":null,"fileList":null}
     */

    private String filepath;
    private VoiceintercomBean voiceintercom;

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public VoiceintercomBean getVoiceintercom() {
        return voiceintercom;
    }

    public void setVoiceintercom(VoiceintercomBean voiceintercom) {
        this.voiceintercom = voiceintercom;
    }

    public static class VoiceintercomBean implements Serializable{
        /**
         * id : 15
         * gridId : 8
         * createDate : 2021-03-09 10:23:20
         * validFlag : 0
         * duration : null
         * dataFiles : null
         * fileList : null
         */

        private int id;
        private int gridId;
        private String createDate;
        private int validFlag;
        private Object duration;
        private Object dataFiles;
        private Object fileList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGridId() {
            return gridId;
        }

        public void setGridId(int gridId) {
            this.gridId = gridId;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public int getValidFlag() {
            return validFlag;
        }

        public void setValidFlag(int validFlag) {
            this.validFlag = validFlag;
        }

        public Object getDuration() {
            return duration;
        }

        public void setDuration(Object duration) {
            this.duration = duration;
        }

        public Object getDataFiles() {
            return dataFiles;
        }

        public void setDataFiles(Object dataFiles) {
            this.dataFiles = dataFiles;
        }

        public Object getFileList() {
            return fileList;
        }

        public void setFileList(Object fileList) {
            this.fileList = fileList;
        }
    }
}
